<?php
use yii\helpers\Html;
use yii\bootstrap\ActiveForm;

/* @var $this yii\web\View */
/* @var $model common\modules\taxonomy\models\TaxonomyCategory */
/* @var $form yii\widgets\ActiveForm */
?>
<p>
	<?= Html::a('返回', ['index'], ['class' => 'btn btn-primary'])?>
</p>

    <?php $form = ActiveForm::begin(); ?>

    <?= $form->field($model, 'id')->textInput(['maxlength' => 64,'readonly'=>$model->isNewRecord?null:'readonly']) ?>

    <?= $form->field($model, 'name')->textInput(['maxlength' => 64]) ?>

    <?= $form->field($model, 'description')->textarea(['maxlength' => 512]) ?>
	<div class="form-group">
    	<?= Html::submitButton(Yii::t('backend', 'Save'), ['class' => 'btn btn-primary', 'name' => 'signup-button'])?>
    </div>
<?php ActiveForm::end(); ?>